@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>俱乐部主体信息管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <#NameCon id="condition" name="名称" />
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="Club.search()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="ClubTableToolbar" role="group">
                        	<div>
                            @if(shiro.hasPermission("/club/add")){
                                <#button name="添加" icon="fa-plus" clickFun="Club.openAddClub()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/club/update")){
                                <#button name="修改" btnCss="warning" icon="fa-edit" clickFun="Club.openClubDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/club/delete")){
                                <#button name="删除" btnCss="danger" icon="fa-remove" clickFun="Club.delete()" space="true"/>
                            @}
                            </div>
                            <div>
                            @if(shiro.hasPermission("/clubAdmin/list")){
                                <#button name="管理员" btnCss="white" icon="" clickFun="Club.redirect('/clubAdmin', '管理员')" space="true"/>
                            @}
                            @if(shiro.hasPermission("/clubAdmin/list")){
                                <#button name="注册用户" btnCss="white" icon="" clickFun="Club.redirect('userCommon', '注册用户')" space="true"/>
                            @}
                            @if(shiro.hasPermission("/clubAdmin/list")){
                                <#button name="会籍-主管-前台" btnCss="white" icon="" clickFun="Club.redirect('staffSpecial', '会籍-主管-前台')" space="true"/>
                            @}
                            @if(shiro.hasPermission("/clubAdmin/list")){
                                <#button name="教练" btnCss="white" icon="" clickFun="Club.redirect('clubCoach', '教练')" space="true"/>
                            @}
                            
                            </div>
                        </div>
                        <#table id="ClubTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/club/club/club.js"></script>
@}
